package wifiunion.com.notice;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/11/23.
 */

public class StaticsModel implements StatisticsContact.Model {
    @Override
    public void loadData(String url, HashMap<String, Object> params, BaseCallBack callBack) {
        HttpUtils.HttpGetRequest_Asyn(url, params,
                callBack, null);
    }


    /**
     * 更换图片
     *
     * @param params
     * @param callBack
     */
    public void exchangeIv(HashMap<String, Object> params, BaseCallBack callBack) {
        String url = Constants.HTTP_URL_POST_APPENDPIC;
        HttpUtils.HttpPostRequest_Asyn(url, params,
                callBack, null, false);
    }


    /**
     * 删除用户
     * @param
     * @param params
     * @param callBack
     */
    public void deleteUser(HashMap<String, Object> params, BaseCallBack callBack) {
        String url = Constants.HTTP_URL_GET_DELMEMBER;
        HttpUtils.HttpGetRequest_Asyn(url, params,
                callBack, null);
    }
}
